<template>
  <div>
    child {{ count }}
  </div>
</template>

<script setup>
  import { ref } from 'vue'

  // defineProps(['count'])
  defineProps({
    count: {
      type: Number,
      default: 300
    }
  })

  const title = ref('from child')

  const emit = defineEmits(['send'])
  emit('send', 100)

  defineExpose({
    title
  })
</script>

<style lang="less" scoped>

</style>
